package Parser;

/**
 * Title: ORExpression
 * Description: Object class for an OR expression in a rule
 * @version 1.0
 */

public class ORExpression 
{

  private String ORname = "", ORvalue = "";

  public ORExpression (String ORname, String ORvalue)
  {
    this.ORname = ORname;
    this.ORvalue = ORvalue;
  }

  public String GetORname()
  {
    return this.ORname;
  }

  public String GetORvalue()
  {
    return this.ORvalue;
  }

  public String toString()
  {
    return " OR " + this.ORname + " IS " + this.ORvalue;
  }
}
